class ParamModel:

    def create_single_act_history(self, club_id, act_title, act_date, start_hour, end_hour, member_limit, price):
        return {
            "id": 2919390,
            "version": None,
            "createTime": None,
            "updateTime": None,
            "delFlag": 0,
            "publisherUid": 835265,
            "adminUid": None,
            "clubId": club_id,
            "placeId": 30875,
            "sportId": 1,
            "activityTitle": act_title,
            "activityAvatar": "https://oss.flashxsport.com/flashUpload/activity/5fb2276179c145629b283109e29c9107.png",
            "activityStatus": None,
            "activityDate": act_date,
            "endDate": act_date,
            "startTime": start_hour + ":00",
            "endTime": end_hour + ":00",
            "startTimestamp": None,
            "endTimestamp": None,
            "cancelApplyDeadline": 12,
            "paymentType": 2,
            "activityType": 0,
            "organizeType": 0,
            "bond": 0,
            "bondWay": 0,
            "contactPerson": "满山饭",
            "wxCode": "13810193718",
            "phone": "13810193718",
            "levelLower": 1,
            "levelUpper": 8,
            "des": "",
            "isRefund": None,
            "isTakeRate": None,
            "activityPics": "",
            "isFemaleDiscount": 0,
            "femaleDiscountAmount": 0,
            "isEarlyDiscount": 0,
            "earlyDay": None,
            "earlyTime": "",
            "earlyDiscountAmount": 0,
            "activityQrcode": None,
            "amountPath": 0,
            "placeNum": "",
            "type": 0,
            "isOpenSign": 1,
            "isPlatShow": 1,
            "isAllowQueue": 1,
            "isAllowExchange": 1,
            "isAllowHang": 1,
            "hangCount": -1,
            "isBuyInsure": 0,
            "isOpenClubInsure": 0,
            "isShowRealName": 1,
            "isRealName": 0,
            "isOpenSignRegular": 0,
            "openAdvanceDay": 3,
            "openSignTime": "12:00",
            "remarkReason": None,
            "isApplyRemark": 0,
            "remarkDesc": None,
            "remarkExample": None,
            "openAaDetail": 1,
            "copyInfoRemark": "",
            "isAaOpenMemberDiscount": 0,
            "isAutoCancel": 0,
            "autoCancelHours": 1,
            "autoCancelCount": 6,
            "insurePlanId": None,
            "isUnifyBuyInsure": 0,
            "pubChannel": None,
            "htmlContent": None,
            "isSupportCardPay": 1,
            "isSupportFreePlay": 0,
            "freePlayCount": 0,
            "isSupportRaffle": 1,
            "isAllowRaffleList": 0,
            "isVipDiscount": 1,
            "discountWay": None,
            "city": None,
            "region": None,
            "address": None,
            "latitude": 39.940308,
            "longitude": 116.124437,
            "reminderAfterText": "",
            "reminderAfterImgUrl": "",
            "placeName": "星苒羽超篮羽运动中心",
            "province": None,
            "placeAddress": "北京市石景山区双峪路71号D座一层103号(免费停车)",
            # 增加周几
            "activityTime": f"{act_date[5:]}  {start_hour}:00-{end_hour}:00",
            "startTimeList": [
                start_hour,
                "00"
            ],
            "endTimeList": [
                "当日",
                end_hour,
                "00"
            ],
            "dateList": [
                act_date
            ],
            "needMemberNum": None,
            "maleLevelLower": None,
            "maleLevelUpper": None,
            "femaleLevelLower": None,
            "femaleLevelUpper": None,
            "showCost": "¥" + price,
            "isWeekPublish": 0,
            "activityGroupDoList": [
                {
                    "id": 4568940,
                    "version": 0,
                    "createTime": "2025-11-13 09:03:24",
                    "updateTime": "2025-11-13 17:02:01",
                    "delFlag": 0,
                    "activityId": 2919390,
                    "groupName": None,
                    "needMemberNum": member_limit,
                    "applyNum": 0,
                    "applyAmount": price,
                    "maleLevelLower": 1,
                    "maleLevelUpper": 8,
                    "femaleLevelLower": 1,
                    "femaleLevelUpper": 8,
                    "placeNum": "",
                    "groupSort": 0
                }
            ],
            "activityRemarkParamDto": {
                "activityId": 2919390,
                "remarkReason": None,
                "activityRemarkDtoList": []
            },
            "placeDo": {
                "id": 30875,
                "version": 0,
                "createTime": "2024-08-13 10:41:25",
                "updateTime": "2025-03-29 07:22:38",
                "delFlag": 0,
                "placeName": "星苒羽超篮羽运动中心",
                "score": "4.0",
                "isBusiness": 1,
                "phone": "13811869178",
                "businessDate": None,
                "city": "北京市",
                "region": "石景山区",
                "address": "北京市石景山区双峪路71号D座一层103号(免费停车)",
                "type": None,
                "albumPics": "flashUpload/userAvatar/tmp_e349d9a887ed3a59495bbaee6b0b6f92_30531133836630052.jpg,flashUpload/userAvatar/tmp_97f66dc885a4fbfa0f05821bd365761a_30531133695201750.jpg,flashUpload/userAvatar/tmp_2e3e4d52d43d8a8f7fff4758e38e5419_24118056062969364.jpg,flashUpload/userAvatar/tmp_d1544423eb9b4966737855842e764216_30531133853932628.jpg,flashUpload/userAvatar/tmp_b0d6bdd56854f47a50937e1ae6343b39_30531132988050055.jpg,flashUpload/userAvatar/tmp_810e3acb71b92b5775277a4b8d139a7f_30531133552472001.jpg",
                "latitude": 39.940308,
                "longitude": 116.124437,
                "sportId": None,
                "sportIds": "1",
                "citycode": None,
                "adcode": None,
                "businessArea": None,
                "gaodeId": None,
                "doorPics": "flashUpload/userAvatar/tmp_d01dba32ad707194e2a19a21c6bfb36d_24117925273875869.jpg",
                "idCardStart": "flashUpload/userAvatar/tmp_9e530824437d5b61e115e312f905d505_24118265317214365.jpg",
                "idCardEnd": "flashUpload/userAvatar/tmp_e59235fc2c8a63f7e4139d33cbb1a5b6_24118270339586679.jpg",
                "businessLicense": "flashUpload/userAvatar/tmp_55ee8e2ac8ff9a6c43ca7e298c1969a1_24118260150350710.jpg",
                "addressDetail": None,
                "venueDetail": "免费停车、专业场地灯光木地板地胶、可提供专业培训",
                "userId": 2200899,
                "useChannel": 0
            },
            "isLike": 0,
            "maxMemberCount": None,
            "maxTeamCount": None,
            "weekNumber": 4,
            "insurancePlanDo": None,
            "actInsuranceApplicantDo": {},
            "trackActConfigDto": None,
            "activityProjectDtoList": None,
            "coachId": None,
            "coachName": None,
            "insurePlanName": "",
            "isExtendNextDay": 0
        }

    def create_single_act(self, club_id, act_title, act_date, start_hour, end_hour, member_limit, price):
        return {
            "type": 0,
            "openAaDetail": 1,
            "activityRemarkParamDto": {},
            "groupWithClubMemberDtoList": [],
            "sportId": "1",
            "isWeekPublish": 0,
            "isRealName": 0,
            "isShowRealName": 1,
            "isAllowHang": 1,
            "activityAvatar": "https://oss.flashxsport.com/flashUpload/activity/adf42fe2c35d473b8392f4dfcfab8d1e.png",
            "activityPics": "",
            "placeAddress": "",
            "activityTitle": act_title,
            "startTimeList": [
                start_hour,
                "00"
            ],
            "endTimeList": [
                "当日",
                end_hour,
                "00"
            ],
            "cancelApplyDeadline": 12,
            "des": "",
            "isOwnerJoin": 1,
            "isAllowQueue": 1,
            "paymentType": 2,
            "organizeType": "0",
            "clubId": club_id,
            "contactPerson": "满山饭",
            "phone": "13810193718",
            "wxCode": "13810193718",
            "city": None,
            "isOpenSign": 0,
            "dateList": [
                act_date
            ],
            "activityGroupDoList": [
                {
                    "groupName": None,
                    "needMemberNum": str(member_limit),
                    "applyAmount": str(price),
                    "maleLevelLower": 1,
                    "maleLevelUpper": 8,
                    "femaleLevelLower": 1,
                    "femaleLevelUpper": 8,
                    "placeNum": ""
                }
            ],
            "placeDo": {
                "city": "北京市",
                "region": "东城区",
                "placeName": "建国门体育中心·羽毛球·乒乓球·篮球",
                "latitude": 39.917243,
                "longitude": 116.423764,
                "address": "北京市东城区朝阳门街道干面胡同41号"
            },
            "isFemaleDiscount": 0,
            "femaleDiscountAmount": None,
            "isExtendNextDay": 0,
            "bond": None,
            "isBuyInsure": 0,
            "isOpenClubInsure": 0,
            "insurePlanId": None,
            "insurePlanName": "",
            "isUnifyBuyInsure": 0,
            "isAllowExchange": 1,
            "activityType": 0,
            "bondWay": 0,
            "isEarlyDiscount": 0,
            "earlyDiscountAmount": None,
            "earlyDay": None,
            "earlyTime": "",
            "placeNum": "",
            "isOpenSignRegular": 0,
            "openAdvanceDay": 3,
            "openSignTime": "12:00",
            "weekNumber": 1,
            "maxMemberCount": None,
            "maxTeamCount": None,
            "hangCount": -1,
            "copyInfoRemark": "",
            "isAaOpenMemberDiscount": 0,
            "isVipDiscount": 1,
            "isAutoCancel": 0,
            "autoCancelHours": 1,
            "autoCancelCount": 6,
            "actInsuranceApplicantDo": {},
            "isSupportCardPay": 1,
            "trackActConfigDto": {
                "isFreeSixty": 0,
                "isMultiDiscount": 0,
                "trackActConfigItemList": [
                    {
                        "projectCount": "",
                        "preferentialAmount": ""
                    }
                ],
                "maxProjectCount": "",
                "needNum": ""
            },
            "activityProjectDtoList": [
                {
                    "needMemberNum": "",
                    "limitSex": None,
                    "placeNum": "",
                    "applyAmount": "",
                    "sysProjectId": None,
                    "sysProjectName": "",
                    "limitGroupList": []
                }
            ],
            "isSupportFreePlay": 0,
            "freePlayCount": None,
            "isSupportRaffle": 1,
            "isAllowRaffleList": 0,
            "reminderAfterImgUrl": "",
            "reminderAfterText": "",
            "applyNotice": "",
            "coachName": "",
            "coachId": None,
            "maleLevelUpper": 8,
            "femaleLevelUpper": 8
        }
